package com.lx.zxs.mapper;

import com.lx.zxs.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CostumerMapper {

    int insertUser(User user);

    int updateUser(User user);

    int delUser(int id);

    List<User> queryUserByParms(@Param("keyWord") String keyWord,@Param("id") Integer id);
}
